//
// Created by Administrator on 2018/8/29.
//

#include "CCSort.h"
#include <iostream>
void CCSort::println(int *pArray, int n) {
    if(n < 0) {
        std::cerr << "错误的输入"<< std::endl;
        return ;
    }
    std::cout << "===========================================" << std::endl;
    for(int i = 0;i<n;i++){
        if(n < 20)
            std::cout << pArray[i] << " ";
        else
            std::cout << pArray[i] << std::endl;
    }
    if( n < 20)
    std::cout << std::endl;
    std::cout << "===========================================" << std::endl;
}
